<style type="text/css">

    .container {
        margin-bottom: 1.4em;
    }

    .picbox {
        border: 1px solid black;
        height: 100px;
        width: 100px;
        margin-right: 1.7em;
        display: inline-block;
        clear: both;
    }

    .picbox:hover {
        border-color: red;
        cursor: pointer;
    }

</style>
<div>
    <div class="container" style="margin-bottom: 1.7em;">
        <h1 class="title content-title">
            <?php echo $artikel->content_id->title; ?>
        </h1>
    </div>

    <div class="container">
        <div class="content-textbox">
            <p>
                <?php echo $artikel->content_id->text; ?>
            </p>
        </div>
    </div>

    <div>
        <?php $this->view("fbshare"); ?>
    </div>

    <?php if (count($artikel->content_id->pics) > 0) { ?>
        <div style="width: 50em;">
            <hr />
        </div>
        <div class="container" style="margin-bottom: 2em;">
            <?php foreach ($artikel->content_id->pics as $pic) { ?>
                <div style="display: inline-block;">
                    <div class="picbox" style="background-image: url('<?php echo $pic->tmb; ?>');"></div>
                </div>
            <?php }; ?>
        </div>
    <?php } ?>
    <div style="width: 50em;">
        <hr />
    </div>

    <div class="container">
        <?php $this->view("fbcomments"); ?>
    </div>

</div>